arc: Add virt_to_phys() stub
authorAlexey Brodkin <[email protected]>
Fri, 8 Apr 2016 16:21:12 +0000 (09:21 -0700)
committerAlexey Brodkin <[email protected]>
Mon, 11 Apr 2016 17:20:38 +0000 (10:20 -0700)
commit53637c911b7a2397b50690cd67b7d59145bcae9c
tree8e6388f99f9c49cef402712699df7e2082355489
parent8b15010b1fc6a0da76db0b5d96d12ffe69990dbe
arc: Add virt_to_phys() stub

Commit cf7c93cdd755 "usb: ehci: Implement V2P mapping"
introduced usage of virt_to_phys() in ehci-hcd.

Since there was no implementation of virt_to_phys() for ARC
compilation of the ehci-generic driver failed.

This change adds virt_to_phys() stub for ARC so now
USB driver for AXS101 board could be built again.

Signed-off-by: Alexey Brodkin <[email protected]>
Cc: Daniel Schwierzeck <[email protected]>
Cc: Hans de Goede <[email protected]>
Acked-by: Marek Vasut <[email protected]>
arch/arc/include/asm/io.h